Add Windows compatibility with native batch and PowerShell scripts#5
Merged
Add Windows compatibility with native batch and PowerShell scripts#5
Conversation
Co-authored-by: NW-Lab <8869009+NW-Lab@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Windowsのビルド
Add Windows compatibility with native batch and PowerShell scripts
Sep 13, 2025
There was a problem hiding this comment.
Pull Request Overview
Adds native Windows compatibility to the VS Code KeyPad project by providing Windows-specific build scripts and comprehensive documentation. The PR addresses the Windows compatibility issue by creating batch and PowerShell alternatives to the existing bash script.
- Added native Windows batch script (
build_test.bat) and PowerShell script (build_test.ps1) with identical functionality to the bash version - Created comprehensive Windows setup guide with installation instructions, troubleshooting, and Windows-specific considerations
- Updated existing documentation with Windows-specific instructions and cross-platform compatibility notes
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| docs/WINDOWS_SETUP.md | New comprehensive Windows setup guide covering installation, troubleshooting, and platform-specific considerations |
| build_test.ps1 | New PowerShell script with enhanced colored output and error handling for Windows users |
| build_test.bat | New Windows Command Prompt batch script providing identical functionality to the bash version |
| arduino_ide_version/README_Arduino.md | Enhanced with Windows-specific library paths and setup notes |
| README.md | Updated with Windows-specific build instructions and troubleshooting sections |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR addresses the Windows compatibility concern raised in the issue. The repository previously only provided a bash script (
build_test.sh) for build automation, which doesn't work natively on Windows systems.Changes Made
New Windows Scripts
build_test.bat- Native Windows Command Prompt script with identical functionality to the bash versionbuild_test.ps1- PowerShell script with enhanced colored output and better error handlingBoth scripts provide the same build testing, hardware setup instructions, and pairing guidance as the original bash script.
Enhanced Documentation
docs/WINDOWS_SETUP.md- Comprehensive Windows setup guide covering:Updated Existing Documentation
Usage Examples
Windows Command Prompt:
PowerShell:
Cross-platform PlatformIO:
The solution maintains backward compatibility while providing native Windows support. All three script variants (
.sh,.bat,.ps1) produce identical output and functionality.Fixes #4.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.